<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/include.jsp" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Autenticacion</title>
        <link rel="stylesheet" type="text/css" href="/fisiosoftJDV/faces/jsfcrud.css" />
    </head>
    <body background="logoFondo.png"><body style="background-color:#FFFFFF ">
        <br><br><br><br><br><br><br><br>
        <form:form method="post" commandName="autenticar">
          <div align="center">
            <table align="center" width="50%" bgcolor="f8f8ff" border="0" cellspacing="0" cellpadding="5" style="background-color:transparent ">
                <tr>
                    <td></td>
                  <td align="right" width="20%"><b>Usuario:</b></td>
                    <td width="20%">
                      <form:input path="usuario"/>
                    </td>
                    <td align="left">
                      <font color="red"><form:errors path="usuario"/></font>
                    </td>
                </tr>
                <tr>
                  <td></td>
                  <td align="right" width="20%"><b>Contrase&ntilde;a:</b></td>
                    <td width="20%">
                        <form:password path="contrasena"/>
                    </td>
                    <td align="left">
                      <font color="red"><form:errors path="contrasena"/></font>
                    </td>
                    <td>   </td>
                    <td>   </td>
                </tr>
                <tr>
                  <td></td>
                  <td align="right" width="20%"><input type="submit" align="right" value="Entrar"></td>
                    <td width="20%">
                        <input type="reset" align="center" value="Limpiar">
                    </td>
                    <td>
                        <font color="red"></font>
                    </td>
                    <td>   </td>
                    <td>   </td>
                </tr>
            </table>
          </div>
        </form:form>        
    </body>
</html>
